<template>
    <div class="con">

        <img src="../assets/images/hb/bg.png" alt="" class="header">

        <div class="footer">
            <img src="../assets/images/hb/8000.png" alt="">

            <div class="ok" @click="ok()" :class="{ graybtn: isgraybtn }">
                <button id="graybtn">提交</button>
            </div>

        </div>

    </div>
</template>

<script>
export default {
    name: "hbAmount",
    data() {
        return {
            nexturl: "",
            isgraybtn: false
        };
    },
    methods: {
        ok() {
            window.location.href = this.nexturl;
        }
    },
    mounted() {
        this.nexturl = this.$route.query.nexturl;
    
    }
};
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
.con {
    width: 100%;
    min-height: 100vh;
    background: #168290;
    position: relative;
}
.header {
    width: 100%;
}
.footer {
    position: absolute;
    width: 100%;
    bottom: 5%;
    left: 0%;
    text-align: center;
}
.footer img {
    width: 50%;
}
button {
    width: 90%;
    height: 44px;
    line-height: 44px;
    text-align: center;
    background: #ffea00;
    color: #333;
    margin-top: 36px;
    border-radius: 4px;
    font-size: 16px;
}
.phone {
    margin-top: 30px;
    width: 100%;
    height: 40px;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
}

.graybtn button {
    opacity: 0.5;
}
</style>
